<?php 
echo $msg;
echo $form?>
<table  class="tableadmin tbl_nm_<?php echo $tblname?>">
  <?php foreach($data as $key => $value){
  ?>
    <tr class="tbltr_<?php echo $key?>">
      <th align="left" class="tblth_<?php echo $key?>"><?php echo $titles[$key]?></th>
      <td class="tbltd_<?php echo $key?>"><?echo $value?></td>
    </tr>
  <?php
  }?>
    <tr>
      <td colspan="2"><?php echo ($only_read == FALSE) ? form::submit("Enviar","Enviar") : '';?></td>
    </tr>
</table>
<?php echo form::close()?>